<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>ERRDEVAFF</title>
    <link href="insn.css" rel="stylesheet" type="text/css"/>
  </head>
  <body><table style="margin: 0 auto;"><tr><td><div class="topbar"><a href="AArch32-regindex.html">AArch32 Registers</a></div></td><td><div class="topbar"><a href="AArch64-regindex.html">AArch64 Registers</a></div></td><td><div class="topbar"><a href="AArch32-sysindex.html">AArch32 Instructions</a></div></td><td><div class="topbar"><a href="AArch64-sysindex.html">AArch64 Instructions</a></div></td><td><div class="topbar"><a href="enc_index.html">Index by Encoding</a></div></td><td><div class="topbar"><a href="ext_alpha_index.html">External Registers</a></div></td><td><div class="topbar"><a href="ext_enc_index.html">External Registers by Offset</a></div></td><td><div class="topbar"><a href="func_index.html">Registers by Functional Group</a></div></td><td><div class="topbar"><a href="notice.html">Proprietary Notice</a></div></td></tr></table><hr/><h1 class="register-section">ERRDEVAFF, Device Affinity Register</h1><p>The ERRDEVAFF characteristics are:</p><h2>Purpose</h2>
        <p>For a group of error records that has affinity with a single PE or a group of PEs, ERRDEVAFF is a copy of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a> or part of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>:</p>

      
        <ul>
<li>If the group of error records has affinity with a single PE, the affinity level is 0, then ERRDEVAFF reads the same value as <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>, and ERRDEVAFF.F0V reads-as-one to indicate affinity level 0.
</li><li>If the group of error records has affinity with a group of PEs, the affinity level is 1, 2, or 3, then parts of ERRDEVAFF reads the same value as parts of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>, and the rest of ERRDEVAFF indicates the level.
</li></ul>

      
        <p>For example, if the group of PEs is a subset of the PEs at affinity level 1 then all of the following are true:</p>

      
        <ul>
<li>All the PEs in the group have the same values in <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.{Aff3,Aff2}, and these values are equal to ERRDEVAFF.{Aff3,Aff2}.
</li><li>ERRDEVAFF.Aff1 is nonzero and not <span class="hexnumber">0x80</span>, and ERRDEVAFF.{Aff0,F0V} read-as-zero, to indicate at least affinity level 1. The subset of PEs at level 1 that the group of error records has affinity with is indicated by the least-significant set bit in ERRDEVAFF.Aff1. In this example, if ERRDEVAFF.Aff1[2:0] is <span class="binarynumber">0b100</span>, then the group of error records has affinity with the up-to 8 PEs that have <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1[7:3] == ERRDEVAFF.Aff1[7:3].
</li></ul>

      
        <p>Depending on the <span class="arm-defined-word">IMPLEMENTATION DEFINED</span> nature of the system, it might be possible that ERRDEVAFF is read before system firmware has configured the group of error records and/or the PE or group of PEs that the group of error records has affinity with. When this is the case, ERRDEVAFF reads as zero.</p>

      
        <p>If RAS System Architecture v1.1 is not implemented then ERRDEVAFF can only describe a group of error records that is affine with a single PE or all the PEs at an affinity level.</p>

      
        <p>Depending on the <span class="arm-defined-word">IMPLEMENTATION DEFINED</span> nature of the system, it might be possible that ERRDEVAFF is read before system firmware has configured the group of error records or the PE or group of PEs that the group of error records has affinity with. When this is the case, ERRDEVAFF reads as zero.</p>
      <h2>Configuration</h2><p>This register is present only when the group of error records has affinity with a PE or cluster of PEs. Otherwise, direct accesses to ERRDEVAFF are <span class="arm-defined-word">RES0</span>.</p>
        <p>ERRDEVAFF is implemented only as part of a memory-mapped group of error records.</p>
      <h2>Attributes</h2>
        <p>ERRDEVAFF is a 64-bit register.</p>
      <h2>Field descriptions</h2><table class="regdiagram"><thead><tr><td>63</td><td>62</td><td>61</td><td>60</td><td>59</td><td>58</td><td>57</td><td>56</td><td>55</td><td>54</td><td>53</td><td>52</td><td>51</td><td>50</td><td>49</td><td>48</td><td>47</td><td>46</td><td>45</td><td>44</td><td>43</td><td>42</td><td>41</td><td>40</td><td>39</td><td>38</td><td>37</td><td>36</td><td>35</td><td>34</td><td>33</td><td>32</td></tr></thead><tfoot><tr><td>31</td><td>30</td><td>29</td><td>28</td><td>27</td><td>26</td><td>25</td><td>24</td><td>23</td><td>22</td><td>21</td><td>20</td><td>19</td><td>18</td><td>17</td><td>16</td><td>15</td><td>14</td><td>13</td><td>12</td><td>11</td><td>10</td><td>9</td><td>8</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr></tfoot><tbody><tr class="firstrow"><td class="lr" colspan="24"><a href="#fieldset_0-63_40">RES0</a></td><td class="lr" colspan="8"><a href="#fieldset_0-39_32">Aff3</a></td></tr><tr class="firstrow"><td class="lr" colspan="1"><a href="#fieldset_0-31_31">F0V</a></td><td class="lr" colspan="1"><a href="#fieldset_0-30_30-1">U</a></td><td class="lr" colspan="5"><a href="#fieldset_0-29_25">RES0</a></td><td class="lr" colspan="1"><a href="#fieldset_0-24_24-1">MT</a></td><td class="lr" colspan="8"><a href="#fieldset_0-23_16-1">Aff2</a></td><td class="lr" colspan="8"><a href="#fieldset_0-15_8-1">Aff1</a></td><td class="lr" colspan="8"><a href="#fieldset_0-7_0-1">Aff0</a></td></tr></tbody></table><h4 id="fieldset_0-63_40">Bits [63:40]</h4><div class="field">
      <p>Reserved, <span class="arm-defined-word">RES0</span>.</p>
    </div><h4 id="fieldset_0-39_32">Aff3, bits [39:32]</h4><div class="field">
      <p>PE affinity level 3. The <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff3 field, viewed from the highest Exception level of the associated PE or PEs.</p>
    </div><h4 id="fieldset_0-31_31">F0V, bit [31]</h4><div class="field">
      <p>Indicates that the ERRDEVAFF.Aff0 field is valid.</p>
    <table class="valuetable"><tr><th>F0V</th><th>Meaning</th></tr><tr><td class="bitfield">0b0</td><td>
          <p>ERRDEVAFF.Aff0 is not valid, and the PE affinity is above level 0 or a subset of level 0.</p>
        </td></tr><tr><td class="bitfield">0b1</td><td>
          <p>ERRDEVAFF.Aff0 is valid, and the PE affinity is at level 0.</p>
        </td></tr></table></div><h4 id="fieldset_0-30_30-1">U, bit [30]<span class="condition"><br/>When ERRDEVAFF.F0V == 1:
                        </span></h4><div class="field">
      <p>Uniprocessor. The <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.U field, viewed from the highest Exception level of the associated PE.</p>
    </div><h4 id="fieldset_0-30_30-2"><span class="condition"><br/>Otherwise:
                        </span></h4><div class="field">
      <p>Reserved, <span class="arm-defined-word">UNKNOWN</span>.</p>
    </div><h4 id="fieldset_0-29_25">Bits [29:25]</h4><div class="field">
      <p>Reserved, <span class="arm-defined-word">RES0</span>.</p>
    </div><h4 id="fieldset_0-24_24-1">MT, bit [24]<span class="condition"><br/>When ERRDEVAFF.F0V == 1:
                        </span></h4><div class="field">
      <p>Multithreaded. The <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.MT field, viewed from the highest Exception level of the associated PE.</p>
    </div><h4 id="fieldset_0-24_24-2"><span class="condition"><br/>Otherwise:
                        </span></h4><div class="field">
      <p>Reserved, <span class="arm-defined-word">UNKNOWN</span>.</p>
    </div><h4 id="fieldset_0-23_16-1">Aff2, bits [23:16]<span class="condition"><br/>When affine with a PE or PEs at affinity level 2 or below:
                        </span></h4><div class="field">
      <p>PE affinity level 2. The <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2 field, viewed from the highest Exception level of the associated PE or PEs.</p>
    </div><h4 id="fieldset_0-23_16-2"><span class="condition"><br/>When affine with a sub-set of PEs at affinity level 2:
                        </span></h4><div class="field">
      <p>PE affinity level 2. Defines part of the <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2 field, viewed from the highest Exception level of the associated PEs.</p>
    <table class="valuetable"><tr><th>Aff2</th><th>Meaning</th></tr><tr><td class="bitfield">0bxxxxxxx1</td><td>
          <p>ERRDEVAFF.Aff2[7:1] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2[7:1], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxxxx10</td><td>
          <p>ERRDEVAFF.Aff2[7:2] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2[7:2], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxxx100</td><td>
          <p>ERRDEVAFF.Aff2[7:3] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2[7:3], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxx1000</td><td>
          <p>ERRDEVAFF.Aff2[7:4] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2[7:4], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxx10000</td><td>
          <p>ERRDEVAFF.Aff2[7:5] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2[7:5], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxx100000</td><td>
          <p>ERRDEVAFF.Aff2[7:6] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2[7:6], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bx1000000</td><td>
          <p>ERRDEVAFF.Aff2[7] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff2[7], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr></table></div><h4 id="fieldset_0-23_16-3"><span class="condition"><br/>Otherwise:
                        </span></h4><div class="field">
      <p>PE affinity level 2. Indicates whether the PE affinity is at level 3.</p>
    <table class="valuetable"><tr><th>Aff2</th><th>Meaning</th></tr><tr><td class="bitfield">0x80</td><td>
          <p>PE affinity is at level 3.</p>
        </td></tr></table>
      <p>All other values are reserved.</p>
    </div><h4 id="fieldset_0-15_8-1">Aff1, bits [15:8]<span class="condition"><br/>When affine with a PE or PEs at affinity level 1 or below:
                        </span></h4><div class="field">
      <p>PE affinity level 1. The <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1 field, viewed from the highest Exception level of the associated PE or PEs.</p>
    </div><h4 id="fieldset_0-15_8-2"><span class="condition"><br/>When affine with a sub-set of PEs at affinity level 1:
                        </span></h4><div class="field">
      <p>PE affinity level 1. Defines part of the <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1 field, viewed from the highest Exception level of the associated PEs.</p>
    <table class="valuetable"><tr><th>Aff1</th><th>Meaning</th></tr><tr><td class="bitfield">0bxxxxxxx1</td><td>
          <p>ERRDEVAFF.Aff1[7:1] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1[7:1], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxxxx10</td><td>
          <p>ERRDEVAFF.Aff1[7:2] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1[7:2], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxxx100</td><td>
          <p>ERRDEVAFF.Aff1[7:3] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1[7:3], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxx1000</td><td>
          <p>ERRDEVAFF.Aff1[7:4] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1[7:4], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxx10000</td><td>
          <p>ERRDEVAFF.Aff1[7:5] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1[7:5], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxx100000</td><td>
          <p>ERRDEVAFF.Aff1[7:6] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1[7:6], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bx1000000</td><td>
          <p>ERRDEVAFF.Aff1[7] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff1[7], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr></table></div><h4 id="fieldset_0-15_8-3"><span class="condition"><br/>Otherwise:
                        </span></h4><div class="field">
      <p>PE affinity level 1. Indicates whether the PE affinity is at level 2.</p>
    <table class="valuetable"><tr><th>Aff1</th><th>Meaning</th></tr><tr><td class="bitfield">0x00</td><td>
          <p>PE affinity is above level 2 or a subset of level 2.</p>
        </td></tr><tr><td class="bitfield">0x80</td><td>
          <p>PE affinity is at level 2.</p>
        </td></tr></table></div><h4 id="fieldset_0-7_0-1">Aff0, bits [7:0]<span class="condition"><br/>When affine with a PE at affinity level 0:
                        </span></h4><div class="field">
      <p>PE affinity level 0. The <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0 field, viewed from the highest Exception level of the associated PE.</p>
    </div><h4 id="fieldset_0-7_0-2"><span class="condition"><br/>When affine with a sub-set of PEs at affinity level 0:
                        </span></h4><div class="field">
      <p>PE affinity level 0. Defines part of the <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0 field, viewed from the highest Exception level of the associated PEs.</p>
    <table class="valuetable"><tr><th>Aff0</th><th>Meaning</th></tr><tr><td class="bitfield">0bxxxxxxx1</td><td>
          <p>ERRDEVAFF.Aff0[7:1] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0[7:1], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxxxx10</td><td>
          <p>ERRDEVAFF.Aff0[7:2] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0[7:2], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxxx100</td><td>
          <p>ERRDEVAFF.Aff0[7:3] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0[7:3], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxxx1000</td><td>
          <p>ERRDEVAFF.Aff0[7:4] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0[7:4], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxxx10000</td><td>
          <p>ERRDEVAFF.Aff0[7:5] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0[7:5], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bxx100000</td><td>
          <p>ERRDEVAFF.Aff0[7:6] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0[7:6], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr><tr><td class="bitfield">0bx1000000</td><td>
          <p>ERRDEVAFF.Aff0[7] is the value of <a href="AArch64-mpidr_el1.html">MPIDR_EL1</a>.Aff0[7], viewed from the highest Exception level of the associated PEs.</p>
        </td></tr></table></div><h4 id="fieldset_0-7_0-3"><span class="condition"><br/>Otherwise:
                        </span></h4><div class="field">
      <p>PE affinity level 0. Indicates whether the PE affinity is at level 1.</p>
    <table class="valuetable"><tr><th>Aff0</th><th>Meaning</th></tr><tr><td class="bitfield">0x00</td><td>
          <p>PE affinity is above level 1 or a subset of level 1.</p>
        </td></tr><tr><td class="bitfield">0x80</td><td>
          <p>PE affinity is at level 1.</p>
        </td></tr></table></div><h2>Accessing ERRDEVAFF</h2><h4>ERRDEVAFF can be accessed through the memory-mapped interfaces:</h4><table class="info"><tr><th>Component</th><th>Offset</th><th>Instance</th></tr><tr><td>RAS</td><td><span class="hexnumber">0xFA8</span></td><td>ERRDEVAFF</td></tr></table><p>Accesses on this interface are <span class="access_level">RO</span>.</p><hr class="bottom_line"/><table style="margin: 0 auto;"><tr><td><div class="topbar"><a href="AArch32-regindex.html">AArch32 Registers</a></div></td><td><div class="topbar"><a href="AArch64-regindex.html">AArch64 Registers</a></div></td><td><div class="topbar"><a href="AArch32-sysindex.html">AArch32 Instructions</a></div></td><td><div class="topbar"><a href="AArch64-sysindex.html">AArch64 Instructions</a></div></td><td><div class="topbar"><a href="enc_index.html">Index by Encoding</a></div></td><td><div class="topbar"><a href="ext_alpha_index.html">External Registers</a></div></td><td><div class="topbar"><a href="ext_enc_index.html">External Registers by Offset</a></div></td><td><div class="topbar"><a href="func_index.html">Registers by Functional Group</a></div></td><td><div class="topbar"><a href="notice.html">Proprietary Notice</a></div></td></tr></table><p class="versions">30/03/2023 19:07; 997dd0cf3258cacf72aa7cf7a885f19a4758c3af</p><p class="copyconf">Copyright © 2010-2023 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.</p></body>
</html>
